package com.jiyun.racelist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiyun.model.Xuanze;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface XuanZeMapper extends BaseMapper<Xuanze> {


    Page<Xuanze> findPage2(Page<Xuanze> xuanZePage, Xuanze xuanZe);

    @Select("select count(id) from xuanze where name!=''")
    Integer findTiCount();

    @Select("select count(state) from shijuan where state='已做'")
    Integer findYiZuo();
}
